﻿using Microsoft.Extensions.DependencyInjection;
namespace Nereus.Zeus.Mvc
{
    public static class NereusExtension
    {
        public static IServiceCollection AddNereus(this IServiceCollection serivceCollection, INBuilderConfigure nBuilderConfigure)
        {
            serivceCollection.AddSingleton(typeof(INBuilder), new ZeusMvcBuilder());
            serivceCollection.AddSingleton(typeof(INBuilderConfigure), nBuilderConfigure);
            return serivceCollection;
        }
    }
}
